Repository navigation
Tests: pool delete cleanup and storage-side clone - #66
Conversation
…side clone from a template, volume or snapshot Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action performed
|
What
Tests for two data paths that had none:
Pool delete cleanup (
LightbitsLifeCycleDeleteTest). Deleting a pool removes its cached template volumes and the volumes and snapshots named exactly like its objects, including a leftover clone-source snapshot. It leaves alone:An unreachable cluster does not stop the delete. A failed token replacement cleans up with the stored token.
Storage-side clone (
LightbitsDriverOperationsTest):One small seam: the lifecycle reads the pool configuration through a package-private function, so the test runs without the database's encryption. No behaviour change.
Coverage
Line coverage 80.4% to 82.9%, branch coverage 74.9% to 76.6% (gate: 60%). Driver branch coverage 49% to 60%, lifecycle branch coverage 49% to 65%. 413 tests pass on CloudStack 4.22.1.0 and 4.23.0.0.
🤖 Generated with Claude Code
Summary by CodeRabbit